package org.alex.samples.dao;

import java.util.List;
import org.alex.samples.dao.IBaseDAO;
import org.alex.samples.model.ExamTest;
import org.alex.samples.model.ExamTestVO;
import org.alex.samples.model.PagerModel;

public interface ITestDao extends IBaseDAO<ExamTest> {

	public List<ExamTest> findAllTests() throws Exception;

	public void createTest(ExamTest examTest) throws Exception;

	public ExamTest getTestById(Integer id) throws Exception;

	public void editTest(ExamTest examTest) throws Exception;

	public void deletetTest(Integer id) throws Exception;

	public List<ExamTest> findAllTestType() throws Exception;

	public PagerModel<ExamTestVO> findAllByPage() throws Exception;

	public PagerModel<ExamTestVO> findSubTestByPage(Integer id) throws Exception;

	public List<ExamTest> getTestListBySubAndTestType(Integer subId, Integer id) throws Exception;

	public List<ExamTest> getTestListByIdList(List<Integer> randomTestIdList);

	
	


}